package com.evil.common.mongo.service.impl;

import com.evil.common.mongo.entity.StringName;
import com.evil.common.mongo.service.StringService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * 统一封装db操作
 *
 * @author liyang
 * @date 2024-05-23 14:57
 */
@Slf4j
public class StringServiceImpl<M extends MongoRepository<T, String>, T extends StringName> extends ServiceImpl<String, M, T> implements StringService<T> {

    @Override
    public String name2Str(String name) {
        return name;
    }
}
